package org.darkforest.model;

import org.apache.commons.lang3.StringUtils;
import org.darkforest.common.util.Page;

import java.math.BigDecimal;

/**
 * Created by Justin on 15/2/7.
 */
public class GoodsCommonSearchBean extends Page<GoodsCommon> {
    private String goodsName;

    private String tableName; //检索的表

    private String orderByColum; //排序字段

    private String orderByType;// 排序方式 升序？降序？

    private Integer goodsClassId;

    private Integer brandId;

    private String searchColumn;

    private String inStatus;

    private Integer storeId;

    private Integer goodsVerify;

    private Integer goodsType;

    private BigDecimal price;  //  价格

    private Integer shipfree;   // 0，包邮

    private Integer useCoupon;

    private Integer goodsTagId;

    private BigDecimal startPrice; //价格查询

    private BigDecimal endPrice;   //价格查询

    private String holidayDate; //节日 全年送匹配

    private Integer relationId; //关系 全年送匹配

    private Integer goodsState;

    private Integer scId; //店铺类型

    private String searchKey;

    private String recommendType;    // 活动专区的类别
    private Integer countyId; //所属贫困县id
    private Integer companyId; //所属企业id

    public GoodsCommonSearchBean() {
    }

    public Integer getGoodsState() {
        return goodsState;
    }
    public void setGoodsState(Integer goodsState) {
        this.goodsState = goodsState;
    }

    public Integer getGoodsType() {
        return goodsType;
    }
    public void setGoodsType(Integer goodsType) {
        this.goodsType = goodsType;
    }

    public Integer getGoodsVerify() {
        return goodsVerify;
    }
    public void setGoodsVerify(Integer goodsVerify) {
        this.goodsVerify = goodsVerify;
    }

    public Integer getStoreId() {
        return storeId;
    }
    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public String getSearchKey() {
        return searchKey;
    }
    public void setSearchKey(String searchKey) {
        this.searchKey = searchKey;
    }

    public String getSearchColumn() {
        return searchColumn;
    }
    public void setSearchColumn(String searchColumn) {
        this.searchColumn = searchColumn;
    }

    public String getInStatus() {
        return inStatus;
    }
    public void setInStatus(String inStatus) {
        this.inStatus = inStatus;
    }

    public String getTableName() {
        return tableName;
    }
    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getOrderByColum() {
        return orderByColum;
    }
    public void setOrderByColum(String orderByColum) {
        this.orderByColum = orderByColum;
    }

    public String getGoodsName() {
        return goodsName;
    }
    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Integer getGoodsClassId() {
        return goodsClassId;
    }
    public void setGoodsClassId(Integer goodsClassId) {
        this.goodsClassId = goodsClassId;
    }

    public String getOrderByType() {
        return orderByType;
    }
    public void setOrderByType(String orderByType) {
        this.orderByType = orderByType;
    }

    public Integer getBrandId() {
        return brandId;
    }
    public void setBrandId(Integer brandId) {
        this.brandId = brandId;
    }

    public BigDecimal getPrice() {
        return price;
    }
    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getShipfree() {
        return shipfree;
    }
    public void setShipfree(Integer shipfree) {
        this.shipfree = shipfree;
    }

    public Integer getUseCoupon() {
        return useCoupon;
    }
    public void setUseCoupon(Integer useCoupon) {
        this.useCoupon = useCoupon;
    }

    public Integer getGoodsTagId() {
        return goodsTagId;
    }
    public void setGoodsTagId(Integer goodsTagId) {
        this.goodsTagId = goodsTagId;
    }

    public BigDecimal getStartPrice() {
        return startPrice;
    }
    public void setStartPrice(BigDecimal startPrice) {
        this.startPrice = startPrice;
    }

    public BigDecimal getEndPrice() {
        return endPrice;
    }
    public void setEndPrice(BigDecimal endPrice) {
        this.endPrice = endPrice;
    }

    public String getHolidayDate() {
        return holidayDate;
    }
    public void setHolidayDate(String holidayDate) {
        this.holidayDate = holidayDate;
    }

    public Integer getRelationId() {
        return relationId;
    }
    public void setRelationId(Integer relationId) {
        this.relationId = relationId;
    }

    public Integer getScId() {
        return scId;
    }
    public void setScId(Integer scId) {
        this.scId = scId;
    }

    public String getRecommendType() {
        return recommendType;
    }
    public void setRecommendType(String recommendType) {
        this.recommendType = recommendType == null ? null : recommendType.trim();
    }

    public Integer getCountyId() {
        return countyId;
    }
    public void setCountyId(Integer countyId) {
        this.countyId = countyId;
    }

    public Integer getCompanyId() {
        return companyId;
    }
    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }
}
